package com.example.leetcode.graph;

import com.example.leetcode.graph.common.GraphUtils;

class Solution1061 {
    public String smallestEquivalentString(String s1, String s2, String baseStr) {
        return GraphUtils.smallestEquivalentString(s1, s2, baseStr);
    }
}

public class leetcode1061 {
    public static void main(String[] args) {
        Solution1061 solution1061 = new Solution1061();
        System.out.println(solution1061.smallestEquivalentString("parker", "morris", "parser"));
        System.out.println(solution1061.smallestEquivalentString("hello", "world", "hold"));
        System.out.println(solution1061.smallestEquivalentString("leetcode", "programs", "sourcecode"));
    }
}
